<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        button {
            width: 100px;
            height: 50px;
            background-color: red;
            color: white;
            font-size: 20px;
        }
    </style>
</head>
<body>

<button onclick="print()">
    点我一下
</button>
<!--引入js的方式-->
<script src="./js/Demo01.js"></script>
<!--<script>
    function print() {
        alert("点我有惊喜")
    }
</script>-->
</body>
</html>